﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Spotshub.Plugin.Payments.GlobalPayments.Services
{
    public class transaction
    {
        public long? transactionStart { set; get; }
        public long? transactionEnd { set; get; }
        public string merchantPass { set; get; }
        public string sessionId { set; get; }
        public string status { set; get; }
        public string transId { set; get; }
        public string approvalCode { set; get; }
        public string tokenId { set; get; }
        public string amount { set; get; }
        public string name { set; get; }
        public address address { set; get; }
        public string customerId { set; get; }
        public string customerEmail { set; get; }
        public string customerPhone { set; get; }
        public string cardNumber { set; get; }
        public string cardType { set; get; }
        public string cardBrandSelected { set; get; }
        public int? expMonth { set; get; }
        public int? expYear { set; get; }
        public string CVVMatch { set; get; }
        public string AVSMatch { set; get; }
        public string uID { set; get; }
        public string orderId { set; get; }
    }

    public class address
    {
        public string address1 { set; get; }
        public string address2 { set; get; }
        public string city { set; get; }
        public string state { set; get; }
        public string zip { set; get; }
    }
}
